package com.zui.entity.product;

import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import com.zui.entity.BaseAutoIdEntity;
@Entity
@Table(name="agreement_item")
public class AgreementItem extends BaseAutoIdEntity{

	private static final long serialVersionUID = 1L;
	
	private Agreement agreement;
	@ManyToOne
	@JoinColumn(name="agreementId")
	public Agreement getAgreement() {
		return agreement;
	}

	public void setAgreement(Agreement agreement) {
		this.agreement = agreement;
	}
	
	
}
